summaryrefslogtreecommitdiff
path: root/src/pages/shop/brands/[slug].jsx
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-09-20 16:52:16 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-09-20 16:52:16 +0700
commita784f4623448ff846dbc5c8259405e6cce8fffb7 (patch)
tree016da331ea5a18ef2c3c1264728b1199b5e9172a /src/pages/shop/brands/[slug].jsx
parent1db54e16f970b4e09df89d432efd5a66ac775eb6 (diff)
parentb7e7696d675d0c2e36364f7cbedb0483a343048d (diff)
Merge branch 'release' into Feature/new-register
Diffstat (limited to 'src/pages/shop/brands/[slug].jsx')
-rw-r--r--src/pages/shop/brands/[slug].jsx7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/pages/shop/brands/[slug].jsx b/src/pages/shop/brands/[slug].jsx
index e786ef78..ed6724ea 100644
--- a/src/pages/shop/brands/[slug].jsx
+++ b/src/pages/shop/brands/[slug].jsx
@@ -18,9 +18,10 @@ export default function BrandDetail() {
const brandName = getNameFromSlug(slug)
const id = getIdFromSlug(slug)
const {brand} = useBrand({id})
- if (!brand || !brand.data || _.isEmpty(brand.data)) {
- return <PageNotFound />;
- }
+ // if ( !brand.isLoading && _.isEmpty(brand.data)) {
+ // console.log('ini masuk pak')
+ // return <PageNotFound />;
+ // }
return (
<BasicLayout>
<Seo